package com.brayan.webapp.model.realestate;

import javax.persistence.Column;
import javax.persistence.DiscriminatorValue;
import javax.persistence.Entity;

import com.brayan.webapp.model.usermgmt.User;

/**
 * Entity implementation class for Entity: Tenant
 * 
 */
@SuppressWarnings("serial")
@Entity
@DiscriminatorValue("Tenant")
public class Tenant extends User {

	@Column
	private String appartment;
	@Column
	private String streetAndNumber;
	@Column
	private String district;
	@Column
	private String postalCode;
	@Column
	private String city;
	@Column
	private String countryCode;

	public String getAppartment() {
		return appartment;
	}

	public void setAppartment(String appartment) {
		this.appartment = appartment;
	}

	public String getStreetAndNumber() {
		return streetAndNumber;
	}

	public void setStreetAndNumber(String streetAndNumber) {
		this.streetAndNumber = streetAndNumber;
	}

	public String getDistrict() {
		return district;
	}

	public void setDistrict(String district) {
		this.district = district;
	}

	public String getPostalCode() {
		return postalCode;
	}

	public void setPostalCode(String postalCode) {
		this.postalCode = postalCode;
	}

	public String getCity() {
		return city;
	}

	public void setCity(String city) {
		this.city = city;
	}

	public String getCountryCode() {
		return countryCode;
	}

	public void setCountryCode(String countryCode) {
		this.countryCode = countryCode;
	}
}
